package com.alks.function.data.request.finance.ryfinance;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author MS
 * @since 2024/5/27下午6:06
 */

@Data
public class ApAmtHeadRequest extends PageParam {

    @ApiModelProperty(value = "单据号码")
    private String slipNo;

    @ApiModelProperty(value = "结算月份")
    private String financeYymm;

    @ApiModelProperty(value = "厂商名称")
    private String vendorName;

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "物料名称")
    private String mtlName;

    @ApiModelProperty(value = "结算方式")
    private String accountName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结算日期始")
    private LocalDate slipDateStart;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结算日期末")
    private LocalDate slipDateEnd;

    @ApiModelProperty(value = "1.已检核 0.未检核 其他.全部")
    private Integer cfmFlag;

    @ApiModelProperty(value = "1.已付 0.未付 其他.全部")
    private Integer fkFlag;

}
